import request from '@/utils/request'

export function fetchSettlement(userId, query) {
  return request({
    url: `/settlement/user/${userId}`,
    method: 'get',
    params: query
  })
}
